programming4us
           
 
 
Windows

Windows 7 : Configuring Internet Explorer Security - Enhancing Your Browsing Privacy (part 2) - Clearing the Address Bar List

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
12/10/2010 9:12:41 AM

Clearing the Address Bar List

Another part of Internet Explorer’s AutoComplete feature involves the web addresses that you type into the address bar. When you start typing a URL into the address bar, Internet Explorer displays a list of addresses that match what you’ve typed. If you see the one you want, use the arrow keys to select it, and then press Enter to surf to it.

That’s mighty convenient, but not very private because other people who have access to your PC can also see those addresses. So another excellent way to enhance your privacy is to clear the address bar list so that no URLs appear as you type.

One way to clear the address bar list is to clear the history files, as described in the previous section. That is, you select Safety, Delete Browsing History, activate the History check box, deactivate all the other check boxes, and then click Delete.

Note

You can configure Internet Explorer to not save the web addresses that you type. Select Tools, Internet Options, select the Content tab, and then click Settings in the AutoComplete group. In the AutoComplete Settings dialog box, deactivate the Address Bar check box to stop saving typed URLs. Click OK in all open dialog boxes.


That works well, but it also means that you lose all your browsing history. That might be exactly what you want, but you may prefer to preserve the history files. In this section, I show you a script that removes the address bar URLs but lets you save your history.

First, note that Internet Explorer stores the last 25 typed URLs in the following Registry key (see Figure 3):

HKCU\Software\Microsoft\Internet Explorer\TypedURLs

Figure 3. The last 25 addresses you typed into the address bar are stored in the TypedURLs Registry key.


You can therefore clear the address bar list by closing all Internet Explorer windows and deleting the settings url1 through url25 in this key. Listing 1 presents a script that does this for you.

Note

The file containing the script in Listing 1—DeleteTypedURLs.vbs—is available from my website at www.mcfedries.com/Windows7Unleashed/.


Listing 1. A Script That Deletes Internet Explorer’s Typed URLs
Option Explicit
Dim objWshShell, nTypedURLs, strRegKey, strURL, i
Set objWshShell = WScript.CreateObject("WScript.Shell")
On Error Resume Next
'
' First determine the number of typed URLs in the Registry
'
nTypedURLs = 0
strRegKey = "HKCU\Software\Microsoft\Internet Explorer\TypedURLs\"
Do While True
'
' Read the next typed URL
'
strURL = objWshShell.RegRead(strRegKey & "url" & nTypedURLs + 1)
'
' If we get an error, it means we've read all
' the typed URLs, so exit the loop
If Err <> 0 Then
Exit Do
End If
nTypedURLs = nTypedURLs + 1
Loop
'
' Run through the typed URLs
'
For i = 1 to nTypedURLs
'
' Delete the Registry setting
'
objWshShell.RegDelete strRegKey & "url" & i
Next 'i
objWshShell.Popup "Finished deleting " & nTypedURLs & _
" typed URLs", , "Delete Typed URLs"


This script begins by running through all the settings in the TypedURLs key, and counts them as it goes. This is necessary because there may not be the full 25 typed URLs in the key, and if you try to delete a nonexistent Registry key, you get an error. With the number of typed URLs in hand, the script then performs a second loop that deletes each Registry setting.

Other -----------------
- Windows 7 : Managing Windows Firewall (part 2)
- Windows 7 : Managing Windows Firewall (part 1)
- Windows 7 : Checking Your Computer’s Security Settings (part 2)
- Windows 7 : Checking Your Computer’s Security Settings (part 1)
- Securing Windows 7 : Thwarting Snoops and Crackers (part 2) - Locking Your Computer Manually, Automatically
- Securing Windows 7 : Thwarting Snoops and Crackers (part 1) - First, Some Basic Precautions
- Windows 7 : Working with the Command-Line Tools (part 3) - Working with System Management Tools
- Windows 7 : Working with the Command-Line Tools (part 2) - Working with File and Folder Management Tools
- Windows 7 : Working with the Command-Line Tools (part 1) - Working with Disk Management Tools
- SOA with .NET and Windows Azure : System.Transactions
- Windows 7 : Understanding Batch File Basics (part 2) - Using Batch File Parameters
- Windows 7 : Understanding Batch File Basics (part 1) - Creating Batch Files
- Discovering the Microsoft Azure Platform
- SOA with .NET and Windows Azure : Microsoft Messaging Queue (MSMQ)
- Windows 7 : Working at the Command Line (part 3)
- Windows 7 : Working at the Command Line (part 2)
- Windows 7 : Working at the Command Line (part 1)
- Windows 7 : Getting to the Command Line (part 2) - Running CMD
- Windows 7 : Getting to the Command Line (part 1)
- Windows Azure : Programming Access Control Service (part 10) - Deploying the Web Service in Windows Azure
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us